//
//  WNavgationViewController.m
//  xmpp即时通信
//
//  Created by student on 16/1/23.
//  Copyright © 2016年 123. All rights reserved.
//

#import "WNavgationViewController.h"

@implementation WNavgationViewController

+ (void)initialize
{
    UINavigationBar *navBar = [UINavigationBar appearance];
    UIBarButtonItem *item = [UIBarButtonItem appearance];
    navBar.barTintColor = [UIColor blackColor];
    NSMutableDictionary *dict = [NSMutableDictionary dictionary];
    dict[NSForegroundColorAttributeName] = [UIColor whiteColor];
    [navBar setTitleTextAttributes:dict];
    [item setTitleTextAttributes:dict forState:UIControlStateNormal];
    [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;
}

@end
